#ifndef HARDWARE_FLASH_H_
#define HARDWARE_FLASH_H_

#include "stm8s_conf.h"

#define HARDWARE_FLASH_START_ADD		0X9B00
#define HARDWARE_FLASH_END_ADD			0X9FFF
#define PER_PICTURE_LENGTH				160
#define MAX_PUCTURE_NUM					8












int Hardware_Flash_Erase(void);
int Hardware_Flash_Write(int num,unsigned char *buf,unsigned int length);
int Hardware_Flash_Read(int num,unsigned char *buf,unsigned int length);

#endif